﻿using AutoMapper;
using Domain.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ViewModel.EmployeeModel
{
    public class CreateEmployeeModel
    {
        [Required]
        public string Name { get; set; }

        public string EmployeeNo { get; set; }

        public Gender Gender { get; set; }

    }


    public class CreateEmployeeModelProfile: Profile
    {
        public CreateEmployeeModelProfile()
        {
            CreateMap<CreateEmployeeModel, Employee>().ReverseMap();
        }
    }
}
